home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
popupmen.sit
/
PopUpMenu 2.0b2
/
background_3155.txt
< prev
next >
Wrap
Text File
|
1989-09-13
|
3KB
|
124 lines
-- background: 3155 from stack: in.0b2
-- bmap block id: 5453
-- flags: 4000
-- background id: 0
-- name:
----- HyperTalk script -----
-----------------------------------------------------------------------
-- openCard
-----------------------------------------------------------------------
on opencard
if the number of this card is one then
hide background button "previous"
show background button "next"
else if the number of this card is 8 then
show background button "previous"
hide background button "next"
else
show background button "previous"
show background button "next"
end if
end opencard
-----------------------------------------------------------------------
-- arrowKey which
-----------------------------------------------------------------------
on arrowKey which
if (which is "left") and (the number of this card is one) then
exit arrowKey
else if (which is "right") and (the number of this card is 8) then
exit arrowKey
else
pass arrowKey
end if
end arrowkey
-----------------------------------------------------------------------
-- doMenu which
-----------------------------------------------------------------------
on doMenu which
if (which is "Prev") and (the number of this card is one) then
exit doMenu
else if (which is "Next") and (the number of this card is 8) then
exit doMenu
else
pass doMenu
end if
end doMenu
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=462 top=296 right=335 bottom=501
-- title width / last selected line: 0
-- icon id / first selected line: 26425 / 26425
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: next
----- HyperTalk script -----
on mouseUp
go to next card
end mouseUp
-- part 10 (field)
-- low flags: 01
-- high flags: 2000
-- rect: left=14 top=47 right=327 bottom=387
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 8192
-- line height: 16
-- part name:
-- part 9 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=424 top=296 right=335 bottom=463
-- title width / last selected line: 0
-- icon id / first selected line: 902 / 902
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: previous
----- HyperTalk script -----
on mouseUp
go to previous card
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=463 top=47 right=86 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 1011 / 1011
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
go home
end mouseUp